package com.cloud.api.domain.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Schema(description = "管理端账户列表")
public class UserResponse implements Serializable {

    @Schema(description = "用户ID")
    private String uid;

    @Schema(description = "账号")
    private String userName;

    @Schema(description = "姓名")
    private String name;

    @Schema(description = "部门名称")
    private String deptName;

    @Schema(description = "部门id")
    private String deptId;

    @Schema(description = "数据权限")
    private String deptCode;

    @Schema(description = "角色名称")
    private String roleName;

    @Schema(description = "角色code")
    private String roleCode;

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "是否启用")
    private Integer enable;

    @Schema(description = "创建人")
    private String createUser;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
